/**
 * Copyright(c) Hainan eKing Technology co., LTD
 *
 * @date 2013-12-4
 * 	
 * Original Author: 郑兴(zhengxing)
 *
 * ChangeLog
 *
 */
package com.hnas.core.jms.artifact;

import com.hnas.core.jms.JobArtifact;

/**
 * @author 郑兴(zhengxing)
 * 
 */
public class OrderArtifact extends JobArtifact {
	


	private boolean sucess = false;
	private int retry;
	private long orderId;
	private String orderNo;
	
	public OrderArtifact() {
		this(	"HU");
	}
	public OrderArtifact(String airline) {
		super("OrderArtifact", "OrderArtifact",
				airline);
	}

	public OrderArtifact(String operation, String messageType) {
		super(operation,messageType,"HU");
	}


	public boolean isSucess() {
		return sucess;
	}


	public void setSucess(boolean sucess) {
		this.sucess = sucess;
	}


	public int getRetry() {
		return retry;
	}


	public void setRetry(int retry) {
		this.retry = retry;
	}


	public long getOrderId() {
		return orderId;
	}


	public void setOrderId(long orderId) {
		this.orderId = orderId;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
//	@Override
	public String toString() {
		return "OrderArtifact [sucess=" + sucess + ", retry=" + retry
				+ ", orderId=" + orderId + ", orderNo=" + orderNo + "]";
	}



}
